import { Component, Vue } from "vue-property-decorator"
import { Getter, Action } from "vuex-class"
import { MineData } from '@/views/mine.interface'
import {getToken, TheRouter} from '@/utils/common';
// import {  } from "@/components" // 组件

@Component({})
export default class Mine extends Vue {
  // Getter
  // @Getter mine.author

  // Action
  // @Action GET_DATA_ASYN

  // data
  data: MineData = {
    pageName: 'mine'
  }
  onClickLeft(){
    window.history.go(-1);
  }
  toLogin(){
    TheRouter.toLogin(this);
  }
  toSetting(){

  }
  isLogin(){
    getToken()
  }
  created() {
    //
  }

  activated() {
    //
  }

  mounted() {
    //
  }

  // 初始化函数
  init() {
    //
  }

}
